"""
URL configuration for psychology_project project.

The `urlpatterns` list routes URLs to views. For more information please see:
    https://docs.djangoproject.com/en/4.2/topics/http/urls/
Examples:
Function views
    1. Add an import:  from my_app import views
    2. Add a URL to urlpatterns:  path('', views.home, name='home')
Class-based views
    1. Add an import:  from other_app.views import Home
    2. Add a URL to urlpatterns:  path('', Home.as_view(), name='home')
Including another URLconf
    1. Import the include() function: from django.urls import include, path
    2. Add a URL to urlpatterns:  path('blog/', include('blog.urls'))
"""
from django.contrib import admin
from django.urls import path
from . import views

app_name = 'psychology_questions'

urlpatterns = [
    path("question_page/", views.question_page, name="问卷页面"),
    path("question_list/", views.question_list, name="获取问卷列表接口"),
    path("question_data/", views.question_data, name="获取具体问卷页面"),
    path("question_submit/", views.question_submit, name="提交后处理结果，获取个性化分析报告"),
    path("report_history/", views.history_report, name="获取历史报告"),
    path("report_download/", views.history_download, name="下载历史报告")
]
